package com.mypg;

public class Test {
    private int test_id;
    private int user_id;
    private String question_class;
    private int test_name;
    private int grade;
    private String finish_time;

    public Test(){}
    public Test(int test_id, int user_id, String question_class, int test_name, int grade, String finish_time) {
        this.test_id = test_id;
        this.user_id = user_id;
        this.question_class = question_class;
        this.test_name = test_name;
        this.grade = grade;
        this.finish_time = finish_time;
    }

    public int getTest_id() {
        return test_id;
    }

    public void setTest_id(int test_id) {
        this.test_id = test_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getQuestion_class() {
        return question_class;
    }

    public void setQuestion_class(String question_class) {
        this.question_class = question_class;
    }

    public int getTest_name() {
        return test_name;
    }

    public void setTest_name(int test_name) {
        this.test_name = test_name;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    public String getFinish_time() {
        return finish_time;
    }

    public void setFinish_time(String finish_time) {
        this.finish_time = finish_time;
    }

    @Override
    public String toString() {
        return "Test{" +
                "test_id=" + test_id +
                ", user_id=" + user_id +
                ", question_class='" + question_class + '\'' +
                ", test_name=" + test_name +
                ", grade=" + grade +
                ", finish_time='" + finish_time + '\'' +
                '}';
    }
}
